{{ $_hugo_config := `{ "version": 1 }` }}
{{- $imageName := $.Get "image" | default "flower" -}}
{{ if  $imageName }}{{- template "shortcodes-blocks_getimage" (dict "name" $imageName "ctx" . "target" "feature-image") -}}{{ end }}
{{- $image := $.Scratch.Get "feature-image" -}}
<main>
	{{ with $image }}<div class="image-wrapper"><img src="{{ .RelPermalink }}" alt="{{ .Title }}"></div>{{ end }}
	<div class="content">
		{{ $.Inner }}
	</div>
</main>
